﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.MQBase
{
    /// <summary>
    /// MQ消息接口
    /// </summary>
    public interface IMQMessage
    {
        /// <summary>
        /// MQ消息类型
        /// </summary>
        MQMessageType MessageType { get; }

        /// <summary>
        /// 消息体
        /// </summary>
        object Body { get; set; }
    }
}
